package com.yj.springsecuritydemo01.mapper;

import com.yj.springsecuritydemo01.pojo.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {

    int register(UserInfo userInfo);

    UserInfo selectUserInfoByUsername(String username);

    List<UserInfo> find();
}
